{layout name="layout" /}
<h4 class="h4">用户列表</h4>
<table class="table table-bordered">
    <tr class="success">
        <th>ID</th>
        <th>用户名</th>
        <th>密码</th>
        <th>操作</th>
    </tr>

    {foreach $data as $value}
    <tr>
        <td style="width:200px">{$value.id}</td>
        <td style="width:400px">{$value.name}</td>
        <td style="width:400px">{$value.password}</td>
        <td><a href="useredit?id={$value.id}" class="btn btn-primary"><span
                class="glyphicon glyphicon-pencil" aria-hidden="true"></span>&nbsp;修改</a>&nbsp;<a
                href="userdelete?id={$value.id}"
                class="btn btn-danger"><span
                class="glyphicon glyphicon-trash" aria-hidden="true"></span>&nbsp;删除</a></td>
    </tr>
    {/foreach}
</table>
<!-- <div align="center">{$page}</div> -->

